package org.dxy.domain.adapter.repository;

import org.dxy.domain.model.aggregate.ProductionLine;

import java.util.Optional;

public interface IProductionLineRepository {

    boolean save(ProductionLine productionLine);

    ProductionLine findById(Long lineId);

    boolean existsByCode(String productionLineCode);
}
